//---------------------------------------------------------------------------

#ifndef Unit_cadalunosH
#define Unit_cadalunosH
//---------------------------------------------------------------------------
#include <stdio.h>
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Mask.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>

//---------------------------------------------------------------------------
class TFmCadAlunos : public TForm
{
__published:	// IDE-managed Components
        TPanel *PanelEdicao;
        TBitBtn *BtnNovo;
        TBitBtn *BtnVoltar;
        TPanel *PanelBotoes;
        TLabel *Label1;
        TLabeledEdit *EdNome;
        TLabel *Label2;
        TEdit *EdRA;
        TLabeledEdit *EdPai;
        TLabeledEdit *EdMae;
        TLabeledEdit *EdProfPai;
        TLabeledEdit *EdProfMae;
        TLabeledEdit *EdEndereco;
        TLabeledEdit *EdNumero;
        TLabeledEdit *EdComplemento;
        TLabeledEdit *EdBairro;
        TLabeledEdit *EdCidade;
        TMaskEdit *EdCEP;
        TComboBox *CBoxUF;
        TLabel *Label3;
        TLabel *Label4;
        TMaskEdit *EdRG;
        TLabel *Label5;
        TMaskEdit *EdCPF;
        TLabel *Label6;
        TComboBox *CBoxEstadoCivil;
        TLabel *Label7;
        TRadioGroup *RGSexo;
        TPanel *PanelBotoes2;
        TBitBtn *BtnCancelar;
        TBitBtn *BtnInserir;
        TBitBtn *BtnLimpar;
        TLabeledEdit *EdEmail;
        TLabel *Label8;
        TMaskEdit *EdTelefone;
        TLabel *Label9;
        TMaskEdit *EdCelular;
        void __fastcall BtnVoltarClick(TObject *Sender);
        void __fastcall BtnNovoClick(TObject *Sender);
        void __fastcall BtnInserirClick(TObject *Sender);
        void __fastcall BtnCancelarClick(TObject *Sender);
        void __fastcall BtnLimparClick(TObject *Sender);
        void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
  FILE *cadalunos; //declarando variavel que aponta para o arquivo
public:		// User declarations
        __fastcall TFmCadAlunos(TComponent* Owner);
};

//---------------------------------------------------------------------------
extern PACKAGE TFmCadAlunos *FmCadAlunos;
//---------------------------------------------------------------------------
#endif
